/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package apus.persistence.proxy;

import apus.entity.Organization;
import apus.persistence.OrganizationDAO;

/**
 * The <code>OrganizationProxy</code> class represents APUS organization-proxy.
 * @author  Maxim Vasilevsky
 * @author  Roman Dyatkovsky
 * @see     AbstractProxy
 * @since   APUS v0.5
 */
public class OrganizationProxy extends SubscriberProxy<Organization,OrganizationDAO> implements Organization{

    public OrganizationProxy() {
        super(OrganizationDAO.class);
    }
    
    @Override
    public String getBankingDetails() {
        return getProxy().getBankingDetails();
    }

    @Override
    public void setBankingDetails(String bankingDetails) {
        getProxy().setBankingDetails(bankingDetails);
    }
    
    @Override
    public String toString() {
        return getProxy().toString();
    }

    @Override
    public String getSubscriberType() {
        return "organization";
    }
    
}